﻿namespace Jim.OA.Service;

/// <summary>
/// OA部门视图
/// </summary>
[Tenant("OA")]
[SugarTable("fpview_dept", "OA部门视图")]
public class OADeptView : OAEntityBase
{
    /// <summary>
    /// 部门名称
    /// </summary>
    [SugarColumn(ColumnName = "DeptName", ColumnDescription = "部门名称", Length = 1000)]
    public string? DeptName { get; set; }
    /// <summary>
    /// 部门编码
    /// </summary>
    [SugarColumn(ColumnName = "DeptCode", ColumnDescription = "部门编码", Length = 1000)]
    public string? DeptCode { get; set; }
    /// <summary>
    /// 部门等级
    /// </summary>
    [SugarColumn(ColumnName = "tlevel", ColumnDescription = "部门等级", Length = 1000)]
    public int? tlevel { get; set; }
    /// <summary>
    /// 部门编码
    /// </summary>
    [SugarColumn(ColumnName = "canceled", ColumnDescription = "部门状态 0：正常；1：已取消 ", Length = 1000)]
    public string? Canceled { get; set; }
    /// <summary>
    /// 上级部门
    /// </summary>
    [SugarColumn(ColumnName = "supdepid", ColumnDescription = "上级部门", Length = 1000)]
    public int? SupdepId { get; set; }
    /// <summary>
    /// 上级部门名称
    /// </summary>
    [SugarColumn(ColumnName = "SuperDeptName", ColumnDescription = "上级部门名称", Length = 1000)]
    public string? SuperDeptName { get; set; }
    /// <summary>
    /// 分部ID
    /// </summary>
    [SugarColumn(ColumnName = "subcompanyid1", ColumnDescription = "分部ID")]
    public int? SubCompanyid { get; set; }
    /// <summary>
    /// 分部名称
    /// </summary>
    [SugarColumn(ColumnName = "subcompanyname", ColumnDescription = "分部名称", Length = 1000)]
    public string? SubCompanyName { get; set; }
    /// <summary>
    /// 组长ID 
    /// </summary>
    [SugarColumn(ColumnName = "Manager", ColumnDescription = "组长ID ")]
    public string? Manager { get; set; }
    /// <summary>
    /// 组长名称
    /// </summary>
    [SugarColumn(ColumnName = "ManagerName", ColumnDescription = "组长名称", Length = 1000)]
    public string? ManagerName { get; set; }
    /// <summary>
    /// 主管ID  
    /// </summary>
    [SugarColumn(ColumnName = "Manager1", ColumnDescription = "主管ID")]
    public string? Manager1 { get; set; }
    /// <summary>
    /// 主管名称
    /// </summary>
    [SugarColumn(ColumnName = "Manager1Name", ColumnDescription = "主管名称", Length = 1000)]
    public string? Manager1Name { get; set; }
    /// <summary>
    /// 经理ID    
    /// </summary>
    [SugarColumn(ColumnName = "Manager2", ColumnDescription = "经理ID")]
    public string? Manager2 { get; set; }
    /// <summary>
    /// 经理名称
    /// </summary>
    [SugarColumn(ColumnName = "Manager2Name", ColumnDescription = "经理名称", Length = 1000)]
    public string? Manager2Name { get; set; }
    /// <summary>
    /// 分管领导ID    
    /// </summary>
    [SugarColumn(ColumnName = "Manager3", ColumnDescription = "分管领导ID")]
    public string? Manager3 { get; set; }
    /// <summary>
    /// 分管领导名称
    /// </summary>
    [SugarColumn(ColumnName = "Manager3Name", ColumnDescription = "分管领导名称", Length = 1000)]
    public string? Manager3Name { get; set; }
}
